/*******************************************************************************
 *  InputControl class
 *  desc: Wrapper for InputElement
 *******************************************************************************

// example options object
var options = {
    id: 'id',
    name: 'name',
    type: 'text',
    placeholder: 'placeholder',   
    classes: 'classes',
    value: 'value',
    title: 'title'
}

*/

/**
 *  Represent input control model
 */
var CheckBoxControl = function(options) {
    
    // this class should extend an Element class
    $.extend(true, this, new ControlContainer(options));
    
    // ------------------------------------------------------- settings
    this.defaults = {
    };
    
    var settings = this.prepareSettings(options);
    
    // ------------------------------------------------------- methods
    
    // ------------------------------------------------------- element creation
    var checkbox = new CheckBoxElement(settings);
    this.addElement(checkbox);
        
    console.log('CheckBoxControl was created with id = '+this.getId());
}